package com.xiaofeng.pochi.mapper;

import com.xiaofeng.pochi.pojo.ShopOrderHistory;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA
 *
 * @Author: chc
 * @Date: 2022/09/17/23:43
 * @Description:
 */
@Component
public interface ShopOrderHistoryMapper {


    /**
     * 添加
     * @param orderHistory
     */
    void save(ShopOrderHistory orderHistory);

    List<ShopOrderHistory> getHistory(Long id);
}
